An Automatic Test Case Generation Framework for Web Services

نویسندگان

  • Yongyan Zheng
  • Jiong Zhou
  • Paul Krause
چکیده

BPEL (Business Process Execution Language) as a de-facto standard for web service orchestration has drawn particularly attention from researchers and industries. BPEL is a semi-formal flow language with complex features such as concurrency and hierarchy. To test a model thoroughly, we need to cover different execution scenarios. As is well known, it is tedious, time-consuming, and error prone to design test cases manually, especially for complex modelling languages. Hence, it is desirable to apply existing model-based-testing techniques in the domain of web services. We proposed WSA (Web Service Automata) to be the operational semantics for BPEL. Based on WSA, we propose a model checking based test case generation framework for BPEL. The SPIN and NuSMV model checkers are used as the test generation engine, and the conventional structural test coverage criteria are encoded into LTL and CTL temporal logic. State coverage and transition coverage are used for BPEL control flow testing, and all-du-path coverage is used for BPEL data flow testing. Two levels of test cases can be generated to test whether the implementation of web services conforms to the BPEL behaviour and WSDL interface models. The generated test cases are executed on the JUnit test execution engine.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Automatic Generation of Test Models for Web Services Using WSDL and OCL

Web services are a very popular solution to integrate components when building a software system, or to allow communication between a system and third-party users, providing a flexible, reusable mechanism to access its functionalities. To ensure these properties though, intensive testing of web services is a key activity: we need to verify their behaviour and ensure their quality as much as pos...

متن کامل

AUTOMATIC TEST CASE GENERATION of WEB SERVICES USING CLASS DIAGRAM

Web services are formally and fully described using an XML-based document called the Web Services Description Language (WSDL) document. WSDL documents fully describe a Web service, including the operations that it supports, the messages that it exchanges, and the data types that these messages use. The best way to approach a WSDL document is to understand that different XML elements take respon...

متن کامل

A Novel Testing Model for SOA based Services

SOA (Service-Oriented Architecture) filled the gap between software and commercial enterprise. SOA integrates multiple web services. We bear to secure the caliber of web services that gives guarantee about what network services work and their output results. There is close to work has to be performed for an automatic test case generation for SOA based services. But, full coverage of XML element...

متن کامل

Automatic WSDL-guided Test Case Generation for PropEr Testing of Web Services

With web services already being key ingredients of modern web systems, automatic and easy-to-use but at the same time powerful and expressive testing frameworks for web services are increasingly important. Our work aims at fully automatic testing of web services: ideally the user only specifies properties that the web service is expected to satisfy, in the form of input-output relations, and th...

متن کامل

Automatic Web Service Selection Using Ontology and Quality of Service

We develop a framework for integrating bioinformatics tools based on Semantic Web technology. Specifications of abstract workflows are expressed in Business Process Execution Language for Web Services (BPEL4WS). A problem-solving agent is responsible for automatic analyzing and discovering the web services in the abstract workflows, and selecting among them in order to optimize the quality of s...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • JSW

دوره 2  شماره 

صفحات  -

تاریخ انتشار 2007